<template>
	<view class="share ">
		<view v-for="(item,index) in list" :key="index" style="width: 25%;" class="margin-top padding-bottom">
			<image :src="item.image" mode=""></image>
			<view>{{item.title}}</view>
		</view>
		<view class="submit">
			取消
		</view>
	</view>
</template>

<script>
	export default {
		name: "share",
		data() {
			return {
				list: [{
						id: 1,
						image: '/static/share/imghaoyou-1.png',
						title: 'QQ好友'
					},
					{
						id: 2,
						image: '/static/share/imghaoyou.png',
						title: '微信好友'
					},
					{
						id: 3,
						image: '/static/share/imgpengyouquan.png',
						title: '微信朋友圈'
					},
					{
						id: 4,
						image: '/static/share/imglianjie.png',
						title: '复制连接'
					},
					{
						id: 5,
						image: '/static/share/imgkongjian.png',
						title: 'QQ空间'
					},
					{
						id: 6,
						image: '/static/share/imgma.png',
						title: '二维码'
					},
				]
			};
		}
	}
</script>

<style lang="scss" scoped>
	.share {
		width: 750rpx;
		background: #FFFFFF;
		opacity: 1;
		border-radius: 30rpx 30rpx 0px 0px;
		display: flex;
		flex-wrap: wrap;
		text-align: center;

		image {
			width: 82rpx;
			height: 82rpx;
			border-radius: 50%;
		}
		.submit{
			width: 750rpx;
			height: 91rpx;
			background: linear-gradient(180deg, #EAA019 0%, #BA4949 100%);
			opacity: 1;
			line-height: 91rpx;
			text-align: center;
			color: white;
		}
	}
</style>
